<?php
include("util/out_fxn.php");
session_start();
$title='Consultancy';
$user_name = $_POST['username'];
$password = $_POST['password'];
do_html_header($title);
//Request coming from login page or "Consultancy link"
if ($user_name && $password)
{
	do_login_response($title);
}
else{
	if(!check_valid_user()){
		do_session_failed();
	}
	else{
		do_consultancy_page($title);
	}
}
do_html_footer();
?>
